#pragma once

#include <iostream>
#include <conio.h>
#include <thread>
#include <deque>
#include <mutex>
#include <chrono>
using namespace std;

#include "player.h"
#include "pos.h"


class game
{
private:	
	char board[8][8];	
	deque<char> keyboard[2];
	deque<pos> positionQueue;
	player p1, p2;
	pos p1pos, p2pos;
	bool updatepos;
	void input();
	void updatePos();
	void draw();
public:
	game();	
	~game();
	void run();
};

